<template>
  <div class="category-tab-content-detail">
    <goods-list-item
      v-for="(item, index) in categoryDetail"
      :key="index"
      :goodsItem="item"
      class="list-item"
    />
  </div>
</template>

<script>
import GoodsListItem from "components/content/goods/GoodsListItem";

export default {
  name: "CategoryTabContentDetail",
  components: {
    GoodsListItem,
  },
  props: {
    categoryDetail: {
      type: Array,
      default() {
        return [];
      },
    },
  },
  methods: {
    itemImgLoad() {
      console.log(1);
    }
  },
};
</script>

<style scoped>
.category-tab-content-detail {
  display: grid;
  justify-content: space-around;
  grid-template-columns: repeat(2, 135px);
  padding: 0 10px;
}
</style>